package org.m8.auth.config;

/**
 * 常量
 *
 * @author yidanjun
 * @date 2024/9/5
 **/
public class AuthConstants {

    /**
     * 刷新token有效期  12*60*60
     */
    public static final int REFRESH_TOKEN_VALIDITY_SECONDS = 43200;

    /**
     * access token有效期  1800 = 30分钟
     */
    public static final int ACCESS_TOKEN_VALIDITY_SECONDS = 1800;

    /**
     * 认证配置中的namespace
     */
    public static final String AUTHORIZATION_CONFIG_NAMESPACE = "auth";

}
